<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<div class="content-wrap">
        <div class="wrapper" style="bottom: 50px;">
            <ul class="nav nav-tabs">
                <li>
                    <a href="#"  onclick="loadDiv('mainCenterDiv','${ctx}/sys/titemcomobo/tItemComobo/index')">列表</a>
                </li>
                <li class="active">
                    <a href="#" onclick="loadDiv('mainCenterDiv','${ctx}/sys/titemcomobo/tItemComobo/form')">
                        <c:choose>
                            <c:when test="${tItemComobo.id==''|| tItemComobo.id==null}">
                                添加
                            </c:when>
                            <c:otherwise>修改</c:otherwise>
                        </c:choose>
                    </a>
                </li>
            </ul>
            <section class="panel panel-default">
                <div class="panel-body">
                    <div class="col-lg-12">
                        <form:form id="inputForm" data-parsley-validate="" modelAttribute="tItemComobo" onsubmit="return formSaveLoad('mainCenterDiv','inputForm','${ctx}/sys/titemcomobo/tItemComobo/save','${ctx}/sys/titemcomobo/tItemComobo/index');" method="post" class="form-horizontal">
                            <form:hidden path="id"/>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">套餐名称：</label>
                                    <div class="col-sm-4">
                                        <form:input path="name" htmlEscape="false" class="form-control"  maxlength="200" />
                                    </div>
                                </div>
                                <%--<div class="form-group">--%>
                                    <%--<label class="col-sm-2 control-label">拼音码：</label>--%>
                                    <%--<div class="col-sm-4">--%>
                                        <%--<form:input path="inputCode" htmlEscape="false" class="form-control"  maxlength="50" />--%>
                                    <%--</div>--%>
                                <%--</div>--%>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">性别：</label>
                                    <div class="col-sm-4">
                                        <select name="sllowSex" class="form-control" id="sllowSex" data-parsley-required="true">
                                            <c:forEach items="${fns:getDictList('SEX_DICT')}" var="sex">
                                                <option value="${sex.value}">${sex.label}</option>
                                            </c:forEach>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">备注信息：</label>
                                    <div class="col-sm-4">
                                        <form:textarea path="remarks" htmlEscape="false" rows="3" maxlength="200" class="form-control"/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <div class="col-sm-offset-2 col-sm-10">
                                        <input id="btnSubmit" class="btn btn-primary" type="submit" value="保 存">&nbsp;
                                        <input id="btnCancel" class="btn" type="button" value="返 回" onclick="loadDiv('mainCenterDiv','${ctx}/sys/titemcomobo/tItemComobo/index')">
                                </div>
                            </div>
                        </form:form>
                    </div>

                </div>
            </section>
        </div>
    </div>